import 'package:flutter/material.dart';

class LayoutCase extends StatelessWidget {
  const LayoutCase({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      width: 300,
      height: 400,
      decoration: const BoxDecoration(
        color: Colors.blue,
      ),
      child: Column(
        children: [
          Row(
            children: [
              Image.asset(
                'assets/clxpkp.jpg',
                width: 100,
                height: 100,
                fit: BoxFit.cover,
              ),
              Image.asset(
                'assets/clxpkp.jpg',
                width: 100,
                height: 100,
                fit: BoxFit.cover,
              ),
              Image.asset(
                'assets/clxpkp.jpg',
                width: 100,
                height: 100,
                fit: BoxFit.cover,
              ),
            ],
          ),
          Expanded(
            child: Column(
              children: [
                Image.network(
                  'https://yanxuan-item.nosdn.127.net/72e734dd1a4d35ce650afebdaa600b57.png',
                  height: 200,
                  fit: BoxFit.cover,
                ),
                Expanded(
                  child: ClipRRect(
                    borderRadius: BorderRadius.circular(20),
                    child: Container(
                      // 移除固定高度
                      color: Colors.red, // 使用红色以便更容易看到
                      child: const Center(
                        child: Text(
                          "wofjwofjo",
                          style: TextStyle(
                            color: Colors.white,
                            fontSize: 20,
                          ),
                        ),
                      ),
                    ),
                  ),
                )
              ],
            ),
          ),
        ],
      ),
    );
  }
}
